package com.nega.modules.service.impl;

import com.nega.commons.model.User;
import com.nega.modules.mapper.UserMapper;
import com.nega.modules.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Garcia
 * @CreateDate: 2019/5/17 23:24
 * @Description: what it is class？
 */
@Service
@Slf4j
public class UserServiceImpl implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User getUserById(String id) {
        return null;
    }

    @Override
    public User getUserByName(String name) {
        return userMapper.getUserByName(name);
    }
}
